package com.example.eurekaserver.dao.entity;

public class Main {
    public static void main(String[] args) {
        String className="com.example.eurekaserver.dao.entity.Hero";

        try {
            Class hero1=Class.forName(className);
            Class hero2=Hero.class;
            Class hero3=new Hero().getClass();
            System.out.println(hero1==hero2);
            System.out.println(hero1==hero3);
            Class hero4=new Hero().getClass();
            System.out.println(hero3==hero4);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
}
